package com.hnevc.yinqi;

import java.util.Scanner;

public class Work08 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入名字");
        while (sc.hasNext()){
            String name = sc.next();
            System.out.println(name.substring(0,1));
        }
    }
}
